﻿using MG.Repository;
using MiniExcelLibs.Attributes;
using SqlSugar;

namespace MG.SmartHMI.Entity.DAO
{
    /// <summary>
    /// 轴配置参数 <see cref="MG.SmartHMI.Model.VO.AxisConfigVO"/>
    /// </summary>
    [SugarTable("driver_AxisConfig")]
    public class AxisConfig : BaseEntity
    {
        [ExcelColumn(Name = "名称")]

        public string Name { get; set; } = "新建轴";
        [ExcelColumn(Name = "排列顺寻")]

        public int SortLevel { get; set; } = 0;
        [ExcelColumn(Name = "使能地址")]
        public string EnableAddress { get; set; }

        [ExcelColumn(Name = "回原地址")]
        public string HomeAddress { get; set; }

        [ExcelColumn(Name = "复位地址")]
        public string ResetAddress { get; set; }

        [ExcelColumn(Name = "运动地址")]
        public string GoAddress { get; set; }

        [ExcelColumn(Name = "正向点动地址")]
        public string JOGPAddress { get; set; }

        [ExcelColumn(Name = "负向点动地址")]
        public string JOGNAddress { get; set; }

        [ExcelColumn(Name = "位置地址")]
        public string PositionAddress { get; set; }

        [ExcelColumn(Name = "速度地址")]
        public string VelAddress { get; set; }
    }
}